<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Vue中的数据代理</title>
    <script src="../js/vue.js"></script>
</head>
<body>
    <div id="root">
        <h1>学校: {{name}}</h1>
        <h1>地址: {{address}}</h1>
    </div>
<script>
    Vue.config.productionTip = false;
    Vue.config.devtools = true;

    const vm = new Vue({
        el:'#root',
        data:{
            name:'hljgyxy',
            address:'hljProvinceJiXi'
        }
    });
</script>
</body>
</html>